]> dgit.raspbian.org Git - gnome-shell.git/commit
dbusServices: Port to ESM
authorFlorian Müllner <fmuellner@gnome.org>
Thu, 25 May 2023 18:31:22 +0000 (20:31 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Wed, 21 Jun 2023 11:26:42 +0000 (13:26 +0200)
commit612e04165e2769134ef0958be8d42e6fb8c38f20
treeac0d0daf6057326952f3f357b8015e3b428be107
parenteacabbf4435a63a126b109682fdc28f02e1b0d78
dbusServices: Port to ESM

We want to replace gjs' custom (and now legacy) imports system
with standard EcmaScript modules: JS developers are already
familiar with them, they have better tooling support and using
standard features over non-standard ones is generally the right
thing to do.

Our D-Bus services are separate from the main process, and thus
can be ported separately (except for the few imports that are
shared with the main process' code base).

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2786>
13 files changed:
.eslintrc.yml
js/dbusServices/dbus-service.in
js/dbusServices/dbus-service.service.in
js/dbusServices/dbusService.js
js/dbusServices/extensions/extensionPrefsDialog.js
js/dbusServices/extensions/extensionsService.js
js/dbusServices/extensions/main.js
js/dbusServices/notifications/main.js
js/dbusServices/notifications/notificationDaemon.js
js/dbusServices/screencast/main.js
js/dbusServices/screencast/screencastService.js
js/dbusServices/screensaver/main.js
js/dbusServices/screensaver/screenSaverService.js